package com.dashu.school.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PageDTO<T> {
    @ApiModelProperty(value = "总数量", required = true)
    private long total;
    @ApiModelProperty(value = "数据列", required = true)
    private List<T> DataList;
}
